package org.syncsoft.overalt.domain.tag.entity;

import org.apache.commons.lang.StringEscapeUtils;
import org.syncsoft.overalt.domain.common.entity.IEntity;

/**
 * 
 * @author tptfc
 *
 */
public class Tag implements IEntity {
	private int code;
	private String description;
	
	public Tag() {
		
	}
	
	public Tag(String description) {
		this.description = description;
	}
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = StringEscapeUtils.unescapeHtml(description);
	}
}
